package com.ruoyi.testDeal.domain.basic;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 仪器仪通用检测项对象 yb_basicinfo
 * 
 * @author ruoyi
 * @date 2024-05-17
 */
@ApiModel("仪器仪通用检测项对象")
public class YbBasicinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仪表报告基本参数id */
    private Long ybBasicId;

    /** 报告编号 */
    @Excel(name = "报告编号")
    @ApiModelProperty(value = "报告编号")
    private String reportNum;

    /** 受检单位 */
    @Excel(name = "受检单位")
    @ApiModelProperty(value = "受检单位")
    private String shjdw;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty(value = "设备名称")
    private String shbmc;

    /** 型号规格 */
    @Excel(name = "型号规格")
    @ApiModelProperty(value = "型号规格")
    private String xhgg;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    @ApiModelProperty(value = "出厂编号")
    private String chchbh;

    /** 制造单位 */
    @Excel(name = "制造单位")
    @ApiModelProperty(value = "制造单位")
    private String zhzdw;

    /** 检验依据 */
    @Excel(name = "检验依据")
    @ApiModelProperty(value = "检验依据")
    private String jyyj;

    /** 检测检验类型 */
    @Excel(name = "检测检验类型")
    @ApiModelProperty(value = "检测检验类型")
    private String jcjylx;

    /** 检测检验日期 */
    @JsonFormat(pattern = "yyyy年MM月dd日")
    @Excel(name = "检测检验日期", width = 30, dateFormat = "yyyy年MM月dd日")
    @ApiModelProperty(value = "检测检验日期")
    private Date jcjyrq;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saveTime;

    /** 有效期至 */
    @JsonFormat(pattern = "yyyy年MM月dd日")
    @Excel(name = "有效期至", width = 30, dateFormat = "yyyy年MM月dd日")
    private Date yxqz;

    /** 检验结论 */
    @Excel(name = "检验结论")
    @ApiModelProperty(value = "检验结论")
    private String jyjl;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setYbBasicId(Long ybBasicId) 
    {
        this.ybBasicId = ybBasicId;
    }

    public Long getYbBasicId() 
    {
        return ybBasicId;
    }
    public void setReportNum(String reportNum) 
    {
        this.reportNum = reportNum;
    }

    public String getReportNum() 
    {
        return reportNum;
    }
    public void setShjdw(String shjdw) 
    {
        this.shjdw = shjdw;
    }

    public String getShjdw() 
    {
        return shjdw;
    }
    public void setShbmc(String shbmc) 
    {
        this.shbmc = shbmc;
    }

    public String getShbmc() 
    {
        return shbmc;
    }
    public void setXhgg(String xhgg) 
    {
        this.xhgg = xhgg;
    }

    public String getXhgg() 
    {
        return xhgg;
    }
    public void setChchbh(String chchbh) 
    {
        this.chchbh = chchbh;
    }

    public String getChchbh() 
    {
        return chchbh;
    }
    public void setZhzdw(String zhzdw) 
    {
        this.zhzdw = zhzdw;
    }

    public String getZhzdw() 
    {
        return zhzdw;
    }
    public void setJyyj(String jyyj) 
    {
        this.jyyj = jyyj;
    }

    public String getJyyj() 
    {
        return jyyj;
    }
    public void setJcjylx(String jcjylx) 
    {
        this.jcjylx = jcjylx;
    }

    public String getJcjylx() 
    {
        return jcjylx;
    }
    public void setJcjyrq(Date jcjyrq) 
    {
        this.jcjyrq = jcjyrq;
    }

    public Date getJcjyrq() 
    {
        return jcjyrq;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Date getYxqz() {
        return yxqz;
    }

    public void setYxqz(Date yxqz) {
        this.yxqz = yxqz;
    }

    public String getJyjl() {
        return jyjl;
    }

    public void setJyjl(String jyjl) {
        this.jyjl = jyjl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ybBasicId", getYbBasicId())
            .append("reportNum", getReportNum())
            .append("shjdw", getShjdw())
            .append("shbmc", getShbmc())
            .append("xhgg", getXhgg())
            .append("chchbh", getChchbh())
            .append("zhzdw", getZhzdw())
            .append("jyyj", getJyyj())
            .append("jcjylx", getJcjylx())
            .append("jcjyrq", getJcjyrq())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
